package com.abc.core.dao;

import com.abc.core.def.Dna;
import com.abc.core.def.DnaDbMap;
import com.abc.core.instance.bo.Cell;
import com.abc.core.instance.bo.Inst;

/**
 * @author lb
 * @date 3/11/22
 */
public interface InstDAO {
    void deleteCell(Cell cell);

    void insertCell(Cell cell, DnaDbMap dnaDbMap);

    void updateCell(Cell cell, DnaDbMap dnaDbMap);

    Inst getInst(Dna dna, Object cellKey);

    Inst getInstByParentKey(Dna childDna, Object cellKey);

    void deleteCellByKey(Object cellKey, Dna dna);
}
